int compare_int(int lhs, int rhs) {
	if (lhs > rhs) {
		return -1;
	} else if (lhs < rhs) {
		return 1;
	}
	return 0;
}